package com.jinmdz.fmis.dao.model.search;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jinmdz.fmis.common.annotation.AnColumn;
import com.jinmdz.fmis.common.annotation.AnTable;
import com.jinmdz.fmis.core.base.BaseBean;

import java.util.Date;

/**
 * 操作日志查询
 *
 * @author LiCongLu
 * @date 2020-04-20 15:29
 */
@AnTable(value = "Sheet", title = "操作日志查询")
public class SearchOperationLogViewItem extends BaseBean {

    /**
     * 员工姓名/工号
     */
    @AnColumn(value = "员工姓名/工号", index = 0)
    private String fullNameJobNo;

    /**
     * 操作时间
     */
    @AnColumn(value = "操作时间", pattern = BaseBean.yyyy_MM_dd_HH_mm, index = 1)
    @JsonFormat(pattern = BaseBean.yyyy_MM_dd_HH_mm)
    private Date operationTime;

    /**
     * 日志内容
     */
    @AnColumn(value = "日志内容", index = 2)
    private String logContent;

    /**
     * 操作类型
     */
    @AnColumn(value = "操作类型", index = 3)
    private String operationType;

    /**
     * 业务类型
     */
    @AnColumn(value = "业务类型", index = 4)
    private String businessType;

    /**
     * 业务编码
     */
    @AnColumn(value = "业务编码", index = 5)
    private String businessCode;

    /**
     * 逝者信息
     */
    @AnColumn(value = "逝者信息", index = 6)
    private String deadName;

    public String getFullNameJobNo() {
        return fullNameJobNo;
    }

    public SearchOperationLogViewItem setFullNameJobNo(String fullNameJobNo) {
        this.fullNameJobNo = fullNameJobNo;
        return this;
    }

    public Date getOperationTime() {
        return operationTime;
    }

    public SearchOperationLogViewItem setOperationTime(Date operationTime) {
        this.operationTime = operationTime;
        return this;
    }

    public String getLogContent() {
        return logContent;
    }

    public SearchOperationLogViewItem setLogContent(String logContent) {
        this.logContent = logContent;
        return this;
    }

    public String getOperationType() {
        return operationType;
    }

    public SearchOperationLogViewItem setOperationType(String operationType) {
        this.operationType = operationType;
        return this;
    }

    public String getBusinessType() {
        return businessType;
    }

    public SearchOperationLogViewItem setBusinessType(String businessType) {
        this.businessType = businessType;
        return this;
    }

    public String getBusinessCode() {
        return businessCode;
    }

    public SearchOperationLogViewItem setBusinessCode(String businessCode) {
        this.businessCode = businessCode;
        return this;
    }

    public String getDeadName() {
        return deadName;
    }

    public SearchOperationLogViewItem setDeadName(String deadName) {
        this.deadName = deadName;
        return this;
    }
}
